package cn.driver.domain;

public class User {
	private int id;//id
	private String userid;//用户昵称
	private String userName;//用户名
	private String passWord;
	private int state;//权限：0：普通  1：管理员
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassWord() {
		return passWord;
	}
	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public User(int id, String userid, String userName, String passWord, int state) {
		super();
		this.id = id;
		this.userid = userid;
		this.userName = userName;
		this.passWord = passWord;
		this.state = state;
	}
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", userid=" + userid + ", userName=" + userName + ", passWord=" + passWord
				+ ", state=" + state + "]";
	}

	
	
}